package com.cdc.springboot;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
/**
 * 在浏览器里面访问http://192.168.0.164:8080/hello
 * @author cdc
 *
 */
@RestController
public class HelloController {
	@RequestMapping(value="/hello" ,method=RequestMethod.GET)
	public String say() {
		return "hello spring boot";
	}

}
